import request from '@/utils/request';

export const getAllUsersId = () => {
	return request({
		url: '/subscribe_task/get_all_user_task',
		method: 'get',
	});
};

export const updateUsersId = (data) => {
	return request({
		url: '/subscribe_task/update_all_user_urls',
		method: 'post',
		data
	});
};

export const getAllRecord = (params) => {
	return request({
		url: '/upload/all_user_upload_record',
		method: 'get',
		params
	});
};

//审核用户上传记录
export const confirmRecord = (data) => {
	return request({
		url: 'upload/confirm_user_upload_record',
		method: 'post',
		data
	});
};

//驳回用户上传记录
export const hitBackRecord = (data) => {
	return request({
		url: 'upload/update_record_status',
		method: 'post',
		data
	});
};

//驳回原因
export const hitBackRecordRemark = (data) => {
	return request({
		url: '/upload/update-revoke-remark',
		method: 'post',
		data
	});
};



